home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Nave
/
SpaceExplorer.swf
/
scripts
/
DefineSprite_89
/
frame_1
/
DoAction.as
Wrap
Text File
|
2006-06-13
|
670b
|
26 lines
this.onEnterFrame = function()
{
if(_root.ok == 1)
{
if(this.hittest(_root.ship.targxx))
{
if(Math.abs(_root.ship.speedY) < 0.3 && Math.abs(_root.ship.speedX) < 0.3)
{
_root.ship.burnL._visible = 0;
_root.ship.burnR._visible = 0;
_root.ship.burnD._visible = 0;
_root.score += 150;
_root.play();
}
else
{
_root.ship.burnL._visible = 0;
_root.ship.burnR._visible = 0;
_root.ship.burnD._visible = 0;
_root.ship.gotoAndPlay(2);
}
_root.ok = 0;
}
}
};